//
//  UIColor+Extension.swift
//  BLE测试
//
//  Created by ls on 2018/1/13.
//  Copyright © 2018年 ls. All rights reserved.
//

import UIKit

class UIColor_Extension: NSObject {
    
    static func baseColor()->UIColor{
        let color = UIColor(red:0, green:180.0/255.00, blue: 180.0/255.00, alpha:1.0)
        return color
    }
    
    static func colorWithHex(colorNum:Int)->UIColor{
        let color = UIColor(red:CGFloat((colorNum&0xff0000)>>16)/255.00, green: CGFloat((colorNum&0xff00)>>8)/255.00, blue: CGFloat((colorNum&0xff))/255.00, alpha:1.0)
        return color
    }
    
    
}
